﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    
    xmlns:cali ="http://www.caliburnproject.org"
    >
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="ms-appx:///FileExplorer3.RT/Themes/Default.RT/Brushes.xaml" />
    </ResourceDictionary.MergedDictionaries>

    <!--Icon View-->

    <Style x:Key="IconViewStyle" TargetType="ListView" >
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <WrapGrid FlowDirection="LeftToRight" Orientation="Vertical" Margin="20,0,0,0"  
                              ItemWidth="100" ItemHeight="{Binding Source=ItemHeight}">
                        
                    </WrapGrid>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemTemplate">
            <Setter.Value>
                <DataTemplate>
                    <StackPanel Orientation="Horizontal">
                        <Image Source="{Binding Icon.Value}" />
                        <TextBlock Text="{Binding EntryModel.Label}" VerticalAlignment="Center" />
                    </StackPanel>
                </DataTemplate>
            </Setter.Value>
        </Setter>
    </Style>


</ResourceDictionary>